package com.bdmc.smokesensor.Utils;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "web")
@PropertySource("classpath:my-web.properties")
//@Data
public class MyWebConfig {
    public String name;

    public long expiremills;

    public String exportPath;



    public String getName() {
        return name;
    }

    public String getExportPath() {
        return exportPath;
    }
 
    public void setExpiremills(long expiremills) {
        this.expiremills = expiremills;
    }

    public long getExpiremills() {
        return expiremills;
    }
 
    public void setName(String name) {
        this.name = name;
    }

    public void setExportPath(String path) {
        this.exportPath = path;
    }
}